package net.yegong.mva.pca;

import net.yegong.matrix.DiagonalMatrix;
import net.yegong.matrix.Matrix;
import net.yegong.matrix.RowVector;

/**
 * @author cooper
 */
public class PCAResult {
	public PCAResult(DiagonalMatrix eigenvalue, Matrix eigenvector, RowVector contribution, RowVector cumulative, RowVector mean, RowVector stdev) {
		this.eigenvalue = eigenvalue;
		this.eigenvector = eigenvector;
		this.contribution = contribution;
		this.cumulative = cumulative;
		this.mean = mean;
		this.stdev = stdev;
	}

	public DiagonalMatrix getEigenValue() {
		return eigenvalue;
	}

	public Matrix getEigenVector() {
		return eigenvector;
	}

	public RowVector getContribution() {
		return contribution;
	}

	public RowVector getCumulativeContribution() {
		return cumulative;
	}

	public RowVector getMean() {
		return mean;
	}

	public RowVector getStdev() {
		return stdev;
	}

	private final DiagonalMatrix eigenvalue;
	private final Matrix eigenvector;
	private final RowVector contribution;
	private final RowVector cumulative;
	private final RowVector mean;
	private final RowVector stdev;
}
